package com.yue92.datalife.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import java.time.LocalDate;

@EqualsAndHashCode(callSuper = true)
@Entity
@Data
public class Moment extends AbstractMysqlEntity {

    private String title;

    private String color;

    private LocalDate date;

    private Integer sort;

    private Boolean display;

}
